package trianglexercises;

import java.io.BufferedReader;
import java.io.InputStreamReader;

/**
 * Created by ravindra on 18/7/14.
 */
public class Utilities {

    public static String readInput(String data){
        String input = null;

        System.out.print("enter " + data + " ");

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        try{
            input = br.readLine();
        }
        catch(Exception e){
            e.printStackTrace();
        }

        return input;
    }
}
